package cn.ccenjie.wsy.social.alipay.connet;

import cn.ccenjie.wsy.social.alipay.api.Alipay;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

public class AlipayConnectionFactory extends OAuth2ConnectionFactory<Alipay> {

    public AlipayConnectionFactory(String providerId, String appid, String secret) {
        super(providerId, new AlipayServiceProvider(appid, secret), new AlipayAdapter());
    }
}
